package singleton.myself.lazy;

public class LazySingleton {
    public static  LazySingleton lazySingleton = null;

    public synchronized static LazySingleton getInstance(){
        if (lazySingleton!=null ){
            lazySingleton = new LazySingleton() ;
        }
        return lazySingleton;
    }
}
